package year2020.month101112;

import java.math.BigDecimal;

public class TestBigDecimal {

    public static void main(String[] args){

        BigDecimal dec = new BigDecimal(0.6);

        System.out.println(dec.intValue());

        System.out.println(dec.doubleValue());

    }

}
